﻿<%@ Page Language="C#" Inherits="E.Web.Teacher.frames.Manager" %>
<%@ Import Namespace="E.Model" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
  <title>老师后台管理</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <link rel="stylesheet" href="/css/main.css" type="text/css" media="all" />
  <link rel="stylesheet" href="/css/t_main.css" type="text/css" media="all" />
  <link rel="stylesheet" href="/css/m.css" type="text/css" media="all" />
</head>
<body>
  <div class="m_top"></div>
    
    <% if (unreplyQnACount > 0) { %>
    
    <div class="block_2">
      <div style="width:650px; height:22px;">
        <div class="title">&nbsp;学生答疑提醒</div>
      </div>
      <div class="spe_line_2"></div>
      <div style="line-height:30px;">&nbsp;您有 <a href="/interactive/List.aspx?act=s"><span class="hint"><%=unreplyQnACount %></span></a> 条学生答疑信息未回复</div>
    </div>
    
    <% } %>
    
    <div class="block_2">
      <div style="width:650px; height:22px;">
        <div class="title">&nbsp;系统公告</div>
      </div>
      <div class="spe_line_2"></div>
      
      <% if (noticeList != null && noticeList.Count > 0) { %>
    
      <div id="datatable">
        <div class="data_rows" style="font-weight:bolder;">
          <div class="d_r_n_t">标题</div>
          <div class="d_r_n_c">类别</div>
          <div class="d_r_n_p">发布人</div>
          <div class="d_r_n_tm">发布时间</div>
          <div class="d_r_n_o">操作</div>
        </div>
        
         <% foreach (ShortNoticeModel model in noticeList) { %>
        <div class="data_rows">
          <div class="d_r_n_t"><%=model.Title%></div>
          <div class="d_r_n_c"><%=model.CategoryName%></div>
          <div class="d_r_n_p"><%=model.PublisherName%></div>
          <div class="d_r_n_tm"><%=model.AddDate.ToString("yyyy.MM.dd")%></div>
          <div class="d_r_n_o"><a href="/sys/notice/View.aspx?id=<%=model.ID %>">查看</a></div>
        </div>
      
         <% } %>
        
      </div>      
      <%} %>
    </div>
</body>
</html>
